view,
navigator,
input,
scroll-view {
  box-sizing: border-box;
}

button::after {
  border: none;
}

swiper,
scroll-view {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

/* #ifdef H5 || APP-PLUS */
:deep(.selected-area) {
  height: auto;
  flex: 0 1 auto;
}
/* #endif */

.hidden {
  display: none;
}

.tags {
  .tag {
    margin: 0 4px 0 0;
    padding: 0 8px;
    color: #fff;
    border-radius: 8px;
    font-size: $fs-sm;
  }
}
.tag0 {
  background-image: linear-gradient(100deg, #ff7f00, #ffa54f);
}
.tag1 {
  background-image: linear-gradient(100deg, #63b8ff, #1c86ee);
}
.tag2 {
  background-image: linear-gradient(100deg, #20b2aa, #00688b);
}
.c-main {
  color: $c-main;
}

.template-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24rpx;
  color: $u-main-color;
  .title {
    font-size: $fs-lg;
    font-weight: bold;
    line-height: 1.4em;
  }
  .market-price {
    font-size: $fs-sm;
    white-space: nowrap;
    .c-main {
      font-size: $fs-lg;
      text {
        font-size: 28px;
        font-weight: bold;
      }
    }
  }
}

/* 底部工具栏 */
.toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20000;
  background-color: #fff;
  height: 100rpx;
  padding: 0 20rpx var(--window-bottom);
  border-top: 1rpx solid #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: content-box;
  .buttons {
    display: flex;
    & > view {
      width: 220rpx;
      text-align: center;
      line-height: 72rpx;
      font-size: $fs-md;
      color: #fff;
      border-radius: 72rpx;
    }
    .buynow,
    .next {
      background-color: $c-main;
      margin-left: 20rpx;
      font-weight: bold;
      font-size: $fs-lg;
    }
    .buynow {
      width: 320rpx;
    }
    .next {
      width: 260rpx;
    }
  }
  .icons {
    padding-right: 10rpx;
    display: flex;
    align-items: center;
    flex: 1;
    /* #ifdef H5 || APP-PLUS */
    .navigator-wrap {
      flex: 1;
    }
    /* #endif */
    .icons-button {
      flex: 1;
      text-align: center;
      line-height: 1.4;
      padding: 0;
      margin: 0;
      border-radius: 0;
      font-size: $fs-xs;
      color: #333;
      background-color: #fff;
      &::after {
        border: none;
      }
      .u-icon {
        display: inherit !important;
      }
    }
    text {
      display: block;
      font-size: 24px;
    }
  }
  .total-price-box {
    color: $u-content-color;
    font-size: $fs-lg;
    .price {
      color: $c-main;
      text {
        font-size: $fs-xl;
        font-weight: bold;
      }
    }
  }
}
